<{strip}>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" >
<title><{$page_title}>-<{$html_title}></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src='<{$root}>/util/jquery.js'></script>
<script src='<{$root}>/util/jquery.cookie.js'></script>
<script src='<{url a=pub-jvar}>'></script>
<script src='<{$theme}>/pub.js'></script>
<{if $printview}>
<link type="text/css" href="<{$skin}>/print.css" rel="stylesheet" media="print,screen" />
</head><body>
<{else}> 
<script src='<{$root}>/util/jquery.ui.all.js'></script> 
<script src='<{$root}>/util/jquery.ajaxform.js'></script>
<link type="text/css" href="<{$skin}>/jqui.smoothness/jquery.ui.all.css" rel="stylesheet" />
<link type="text/css" href="<{$skin}>/custom.css" rel="stylesheet" />
</head>
<body>
<div class="block_top">
      <div class="block_top_text">
        <{$company_title}>
      </div>
      <div class="block_top_links">
        <span>Hi <{$GUSER.name}>, 欢迎回来!  | </span>
        <{if $GUSER.dept_id}> <span>部门:<{$GUSER.dept_name}>  | </span> <{/if}>
        <{if $ROLES}>
            <span>角色:
            <{if $ROLES|@count==1}>
                <{foreach item=r key=key from=$ROLES}><{$r}>-<{$key}><{/foreach}>
            <{else}>
                <{html_options name="_roles_" options=$ROLES}>
            <{/if}> | </span>
        <{/if}>
        <a href='<{ url a=main-chgpass }>'>修改密码</a> |
        <a href='<{ url a=pub-logout }>'>退出</a>
      </div>
      <div class="clear"></div>
    </div>
<table border=0 cellpadding=0 cellspacing=0 width="100%" id="main">
<tr>
  <td width=140 valign="top" id="menu_td"></td>
  <td valign="top" id="contentBody">
    <{if $reminders || $feedbacks}>
    <div class="tips-alert">
    <div class="tips-alert-inner">
      <h3>消息提醒</h3>
      <{if $reminders}>
      <table border="0" width="90%" cellspacing="3" class="reminders">
        <{foreach from=$reminders item=row}>
        <tr>
          <td><{$row.type}></td>
          <td><{$row.time}></td>
          <td><{$row.user}></td>
          <td><a href="<{$row.url}>"><{$row.message}></a></td>
        </tr>
        <{/foreach}>        
      </table>
      <{/if}>
       <{if $feedbacks}>
      <table border="0" width="90%" cellspacing="3" class="reminders">
      <{foreach from=$feedbacks item=row}>
        <tr>
          <td><{$row.sno}></td>
          <td><{$row.time}></td>
          <td><{$row.audit_flow}></td>
          <td><a href="<{$row.url}>"><{$row.message}></a></td>
          <td>[X] <a href="javascript:;" onclick="closefeedback(<{$row.id}>,this)">不再显示</a></td>
        </tr>
        <{/foreach}>
        </table>
       <{/if}>
      </div>
    </div>
    <{/if}>
    <h3 class="page_title"><{$page_title}></h3>
    <{if $printable||$csvable}>
    <div class="printable"> <{if $printable}>|&nbsp;<a href="<{ url viewtype=print' }>" target="_blank">打印此页</a><{/if}>
      <{if $csvable}>|&nbsp;<a href="<{ url viewtype=csv }>">导出数据</a><{/if}>
      &nbsp;| </div>
    <{/if}>
    <{/if}> 
<{/strip}>
